package com.example.demo;

import com.alibaba.fastjson.JSONObject;
import org.apache.http.HttpEntity;
import org.apache.http.NameValuePair;
import org.apache.http.ParseException;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.config.Registry;
import org.apache.http.config.RegistryBuilder;
import org.apache.http.conn.socket.ConnectionSocketFactory;
import org.apache.http.conn.socket.PlainConnectionSocketFactory;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
import java.util.*;

/**
 * 简单httpclient实例
 *
 * @author szz
 * @version 1.0
 * @date 2019年05月29日 下午6:36:49
 */
public class SimpleHttpClientDemo {


    public static String httpGet(String url, String cookie) throws IOException {
        //获取请求连接
        Connection con = Jsoup.connect(url);
        //请求头设置，特别是cookie设置
        con.header("Accept", "text/html, application/xhtml+xml, */*");
        con.header("Content-Type", "application/x-www-form-urlencoded");
        con.header("User-Agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0))");
        con.header("Cookie", cookie);
        //解析请求结果
        Document doc = con.get();
        //获取标题
        System.out.println(doc.title());//返回内容
        return doc.toString();

    }

    /**
     * 绕过验证
     *
     * @return
     * @throws NoSuchAlgorithmException
     * @throws KeyManagementException
     */
    public static SSLContext createIgnoreVerifySSL() throws NoSuchAlgorithmException, KeyManagementException {
        SSLContext sc = SSLContext.getInstance("SSLv3");

        // 实现一个X509TrustManager接口，用于绕过验证，不用修改里面的方法
        X509TrustManager trustManager = new X509TrustManager() {
            @Override
            public void checkClientTrusted(
                    java.security.cert.X509Certificate[] paramArrayOfX509Certificate,
                    String paramString) throws CertificateException {
            }

            @Override
            public void checkServerTrusted(
                    java.security.cert.X509Certificate[] paramArrayOfX509Certificate,
                    String paramString) throws CertificateException {
            }

            @Override
            public java.security.cert.X509Certificate[] getAcceptedIssuers() {
                return null;
            }
        };

        sc.init(null, new TrustManager[]{trustManager}, null);
        return sc;
    }

    public static void main(String[] args) throws Exception {
//        for (int i = 2; i < 70; i++) {
//            Map map = new HashMap();
//            map.put("checkOut", "2021-06-03");
//            map.put("checkIn", "2021-06-02");
//            String result = sendHttps("https://m.ctrip.com/restapi/soa2/20654/SearchHotel?_fxpcqlniredt=09031102114364446477", map, "utf-8");//请求地址，参数，编码集
//            Map resultMap = JSONObject.parseObject(result, Map.class);
//            System.out.println(resultMap);//debug分析返回json的格式
//            List<Map> list = (List<Map>) resultMap.get("product");//获取需要的节点
//            Date time = new Date();//统一设置这一批的插入时间
//            for (Map map1 : list) {
////
//            }
//            Thread.sleep(3000);//文明爬取，要睡几秒
//        }
        Map<String, String> geoMap = new HashMap<>();

        List<String> geoIds = new ArrayList<>();

        Set<Map.Entry<String, String>> entries = geoMap.entrySet();
        for (String geoId : geoIds) {
            String city = geoMap.get(geoId);
//            System.out.println(city);
            Map map = new HashMap();
            map.put("pageNo", "1");
            map.put("pageSize", "10");
            map.put("checkIn", "2021-06-02");
            map.put("checkOut", "2021-06-03");
            map.put("geoId", geoId);
            map.put("geoCategoryId", "3");
            map.put("tripID", "0");
            map.put("contentType", "json");

            //
            String str = "[{\"id\":\"FILTER_TAG_BREAKFAST.roomAndBreakfast-breakfast.0\",\"checked\":true,\"editable\":true}]";
//            JSONObject jsonObject1 = JSONObject.parseObject(str);
            map.put("quickFilter", str);

            String cookie = "GUID=09031102114364446477; Corp_ResLang=zh-cn; _ga=GA1.2.736236370.1622613855; _gid=GA1.2.1827004588.1622613855; ctm_ref=; login_uid=DC1A448F0309B3B22AE165F1E7445D13; login_type=0; cticket=B5B63D43309E23DD7365076DF9383566A68CD50E9C549913BAA9502C10FF8EEB; AHeadUserInfo=VipGrade=0&VipGradeName=%C6%D5%CD%A8%BB%E1%D4%B1&UserName=%BB%C6%B4%BA%CF%E3&NoReadMessageCount=1; ticket_ctrip=bJ9RlCHVwlu1ZjyusRi+ypZ7X2r4+yojyzYEMjGgdJUY+8MkQJWJwZJ1AGK2Pjd4zAAQPp94LF4w/WqKJcY6KhLA7ZzlVmewYDdcOKBsvqOzj1mpUS5peKdRm5DDAKvdHEJ0i9kxLSEo9koBwdLfDJF+QErOWcjEYYOhn9PtBIZKtjTp7k9tDGVsSPIurz+NiHOqtaRJVd+WW8ccXcCH3kjDTdewepP0IoKtc2mJbac6MpCn3rRff7Xl9gYjdzT9zPoSoND2EsXDgRREW+iGkMyCyVsnJx3WICfiRiFt2Ac=; DUID=u=DC1A448F0309B3B22AE165F1E7445D13&v=0; IsNonUser=F; SSOkey=372efd20-e0a7-4974-92a2-cfae90459f81; _IsShowInfo=true; IsFristShowInfo=2130126491; isShowCorpTip=yes; _bfa=1.1622613852719.2kkaby.1.1622613852719.1622616147016.2.7; _bfs=1.2; _bfi=p1%3D10650045603%26p2%3D10650036358%26v1%3D7%26v2%3D6";

            String json = getJsonContent(geoId);
            JSONObject jsonObject = httpPost("https://m.ctrip.com/restapi/soa2/20654/SearchHotel?_fxpcqlniredt=09031102114364446477", json, map, cookie);
//        System.out.println(jsonObject);
            Map<String, String> cityLevelMap = getCityLevelMap();
            List<JSONObject> hotelLists = (List<JSONObject>) jsonObject.get("hotelList");
            for (int i = 0; i < hotelLists.size(); i++) {
                System.out.print(city + "    ");
                System.out.print(cityLevelMap.get(city)+"    ");
                JSONObject hotel = hotelLists.get(i);
                JSONObject baseInfo = (JSONObject) hotel.get("baseInfo");
                JSONObject positionInfo = (JSONObject) hotel.get("positionInfo");
                String positionDesc = (String) positionInfo.get("positionDesc");
                System.out.print(positionDesc+"    ");


                List<JSONObject> names = (List<JSONObject>) baseInfo.get("name");
                String name = (String) names.get(0).get("content");
                System.out.print(name + "    ");
                boolean starLicence = (boolean) baseInfo.get("starLicence");
                String star = (String) baseInfo.get("star");
                if (starLicence) {
                    System.out.print(star + "星级" + "    ");
                } else {
                    System.out.print(star + "个钻" + "    ");
                }
                System.out.print("大床房    ");
                JSONObject priceInfo = (JSONObject) hotel.get("priceInfo");
                JSONObject minPriceInfo = (JSONObject) priceInfo.get("minPriceInfo");
                String customPrice = (String) minPriceInfo.get("customPrice");
                System.out.print(customPrice + "    ");
                System.out.print("是    ");
                System.out.print("是    ");
                System.out.println();
            }
        }
//    "pageNo":1,
//    "pageSize":15,
//    "checkIn":"2021-06-02",
//    "checkOut":"2021-06-03",
//    "geoId":1,
//    "geoCategoryId":3,
//    "tripID":"0",
//    "contentType":"json"
//}
//        String result = sendHttps("https://m.ctrip.com/restapi/soa2/20654/SearchHotel?_fxpcqlniredt=09031102114364446477", map, "utf-8");//请求地址，参数，编码集
//        Map resultMap = JSONObject.parseObject(result, Map.class);
//        System.out.println(resultMap);
        //09031102114364446477

    }

    public static Map<String,String> getCityLevelMap(){
        Map<String,String> map = new HashMap<>();
        map.put("北京","一线城市");
        map.put("广州","一线城市");
        map.put("上海","一线城市");
        map.put("深圳","一线城市");
        map.put("成都","新一线城市");
        map.put("合肥","新一线城市");
        map.put("南京","新一线城市");
        map.put("青岛","新一线城市");
        map.put("沈阳","新一线城市");
        map.put("苏州","新一线城市");
        map.put("天津","新一线城市");
        map.put("武汉","新一线城市");
        map.put("西安","新一线城市");
        map.put("长沙","新一线城市");
        map.put("郑州","新一线城市");
        map.put("重庆","新一线城市");
        map.put("杭州","新一线城市");
        map.put("乐山","四线城市");
        map.put("日照","四线城市");
        map.put("鞍山","三线城市");
        map.put("赣州","三线城市");
        map.put("桂林","三线城市");
        map.put("临沂","三线城市");
        map.put("柳州","三线城市");
        map.put("潍坊","三线城市");
        map.put("扬州","三线城市");
        map.put("银川","三线城市");
        map.put("淄博","三线城市");
        map.put("大连","二线城市");
        map.put("贵阳","二线城市");
        map.put("惠州","二线城市");
        map.put("济南","二线城市");
        map.put("南宁","二线城市");
        map.put("南通","二线城市");
        map.put("宁波","二线城市");
        map.put("厦门","二线城市");
        map.put("太原","二线城市");
        map.put("温州","二线城市");
        map.put("长春","二线城市");
        map.put("福州","二线城市");
        map.put("哈尔滨","二线城市");
        map.put("昆明","二线城市");
        map.put("兰州","二线城市");
        map.put("石家庄","二线城市");
        return map;
    }

    public static JSONObject httpPost(String url, String jsonContent, Map<String, String> map, String cookie) throws IOException {
        //获取请求连接
        Connection con = Jsoup.connect(url).ignoreContentType(true);
        //遍历生成参数
//        if(map!=null){
//            for (Map.Entry<String, String> entry : map.entrySet()) {
//                //添加参数
//                con.data(entry.getKey(), entry.getValue());
//            }
//        }
        con.requestBody(jsonContent);
        //插入cookie（头文件形式）
        con.header("cookie", cookie);
//        con.header("Content-Type", "application/json;charset=UTF-8");
        con.header("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36");
        Document doc = con.header("Content-Type", "application/json").post();
        Element body = doc.body();
        JSONObject json = JSONObject.parseObject(body.text());
        return json;
    }

    public static String getSingleBedJsonContent(String geoId) {
        return "{\n" +
                "    \"sortFilter\":[\n" +
                "        {\n" +
                "            \"id\":\"SORT_DEFAULT.SORT.0\",\n" +
                "            \"checked\":true,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_PRICE_ASC.SORT.1\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_PRICE_DESC.SORT.2\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_DISTANCE_ASC.SORT.3\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_EVALUATE_DESC.SORT.4\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        }\n" +
                "    ],\n" +
                "    \"pageNo\":1,\n" +
                "    \"pageSize\":15,\n" +
                "    \"checkIn\":\"2021-06-03\",\n" +
                "    \"checkOut\":\"2021-06-04\",\n" +
                "    \"geoId\":" + geoId + ",\n" +
                "    \"geoCategoryId\":3,\n" +
                "    \"quickFilter\":[\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_TSPOLICY.corpPolicy-tsPolicy.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_CORPPAY.payType-corpPay.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_EXCLUSIVE.hotelType-exclusive.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_DISCOUNT.hotelDiscount-discount._\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_INVOICE.corpService-invoice.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_BREAKFAST.roomAndBreakfast-breakfast.0\",\n" +
                "            \"checked\":true,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_INSTANTCONFIRMATION.corpService-instantConfirmation.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_FREECANCELLATION.corpService-freeCancellation.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_ONLINEPAY.payType-onlinePay.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        }\n" +
                "    ],\n" +
                "    \"otherFilter\":{\n" +
                "        \"id\":\"FILTER.MOREFILTER.0\",\n" +
                "        \"children\":[\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_CORPPOLICY.corpPolicy.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_TSPOLICY.corpPolicy-tsPolicy.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPPOLICY.corpPolicy.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_HOTELTYPE.hotelType.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_EXCLUSIVE.hotelType-exclusive.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_HOTELTYPE.hotelType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.39\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.48\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.564\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1630\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1122\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1638\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1640\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.105\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.109\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1645\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.110\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1650\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1657\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1658\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1659\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1542\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1037\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.22\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1049\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.49\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1592\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1087\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1113\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1641\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1642\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1643\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1644\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1647\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1135\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1648\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.2\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.5\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1541\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.6\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.7\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.9\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.10\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1034\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.11\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1036\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.16\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.17\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.18\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.19\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.520\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.547\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1577\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.57\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.572\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.576\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1623\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1625\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.614\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.641\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.148\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1180\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.671\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.673\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.684\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"TRANSFERS_SERVICE.service.0\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"SWAM_SERVICE.service.1\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"PARK_SERVICE.service.2\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"WIFI_SERVICE.service.3\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"BROAD_BAND_SERVICE.service.4\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FITNESS_SERVICE.service.5\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"SPA_SERVICE.service.6\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"AIPPORT_BUS_SERVICE.service.7\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_BIGBED.roomAndBreakfast-bigBed.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_DOUBLEBED.roomAndBreakfast-doubleBed.1\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_SINGLEBED.roomAndBreakfast-singleBed.2\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_MULTIBED.roomAndBreakfast-multiBed.3\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_BREAKFAST.roomAndBreakfast-breakfast.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":true\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_OFFLINEPAY.payType-offlinePay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_ONLINEPAY.payType-onlinePay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_CORPPAY.payType-corpPay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_FREECANCELLATION.corpService-freeCancellation.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_INSTANTCONFIRMATION.corpService-instantConfirmation.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_INVOICE.corpService-invoice.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_HOTELDISCOUNT.hotelDiscount.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_DISCOUNT.hotelDiscount-discount._\",\n" +
                "                        \"pId\":\"FILTER_TAG_HOTELDISCOUNT.hotelDiscount.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"checked\":false,\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_FOREIGN.suitablePerson-foreign.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_HMT.suitablePerson-hmt.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true\n" +
                "            }\n" +
                "        ]\n" +
                "    },\n" +
                "    \"priceAndStarFilter\":{\n" +
                "        \"stars\":{\n" +
                "            \"id\":\"STAR_ALL.star.0\",\n" +
                "            \"isMultiple\":true,\n" +
                "            \"children\":[\n" +
                "                {\n" +
                "                    \"id\":\"TWO_STAR.star.2\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"THREE_STAR.star.3\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"FOUR_STAR.star.4\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"FIVE_STAR.star.5\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                }\n" +
                "            ]\n" +
                "        },\n" +
                "        \"initPriceRange\":{\n" +
                "            \"lowPrice\":\"0\",\n" +
                "            \"highPrice\":\"1500\",\n" +
                "            \"currency\":\"￥\",\n" +
                "            \"id\":\"CUSTOMPRICERANGE.customPriceRange.0\"\n" +
                "        }\n" +
                "    },\n" +
                "    \"travelPolicyInfo\":{\n" +
                "        \"guestMode\":false,\n" +
                "        \"GeoCategory\":[\n" +
                "\n" +
                "        ],\n" +
                "        \"guestModeParams\":[\n" +
                "\n" +
                "        ]\n" +
                "    },\n" +
                "    \"positionSelectedItem\":[\n" +
                "\n" +
                "    ],\n" +
                "    \"tripID\":\"0\",\n" +
                "    \"oaAuthMode\":false,\n" +
                "    \"roomQuantity\":1,\n" +
                "    \"adultQuantity\":1,\n" +
                "    \"channel\":\"Online\",\n" +
                "    \"head\":{\n" +
                "        \"cid\":\"09031102114364446477\",\n" +
                "        \"ctok\":\"\",\n" +
                "        \"cver\":\"1.0\",\n" +
                "        \"lang\":\"01\",\n" +
                "        \"sid\":\"\",\n" +
                "        \"syscode\":\"09\",\n" +
                "        \"auth\":null,\n" +
                "        \"extension\":[\n" +
                "            {\n" +
                "                \"name\":\"sourceFrom\",\n" +
                "                \"value\":\"Online\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"locale\",\n" +
                "                \"value\":\"zh_CN\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"corpPayType\",\n" +
                "                \"value\":\"public\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"site\",\n" +
                "                \"value\":\"2\"\n" +
                "            }\n" +
                "        ]\n" +
                "    },\n" +
                "    \"contentType\":\"json\"\n" +
                "}";
    }

    public static String getDoubleBedJsonContent(String geoId) {
        return "{\n" +
                "    \"sortFilter\":[\n" +
                "        {\n" +
                "            \"id\":\"SORT_DEFAULT.SORT.0\",\n" +
                "            \"checked\":true,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_PRICE_ASC.SORT.1\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_PRICE_DESC.SORT.2\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_DISTANCE_ASC.SORT.3\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_EVALUATE_DESC.SORT.4\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        }\n" +
                "    ],\n" +
                "    \"pageNo\":1,\n" +
                "    \"pageSize\":15,\n" +
                "    \"checkIn\":\"2021-06-03\",\n" +
                "    \"checkOut\":\"2021-06-04\",\n" +
                "    \"geoId\":" + geoId + ",\n" +
                "    \"geoCategoryId\":3,\n" +
                "    \"quickFilter\":[\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_TSPOLICY.corpPolicy-tsPolicy.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_CORPPAY.payType-corpPay.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_EXCLUSIVE.hotelType-exclusive.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_DISCOUNT.hotelDiscount-discount._\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_INVOICE.corpService-invoice.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_BREAKFAST.roomAndBreakfast-breakfast.0\",\n" +
                "            \"checked\":true,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_INSTANTCONFIRMATION.corpService-instantConfirmation.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_FREECANCELLATION.corpService-freeCancellation.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_ONLINEPAY.payType-onlinePay.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        }\n" +
                "    ],\n" +
                "    \"otherFilter\":{\n" +
                "        \"id\":\"FILTER.MOREFILTER.0\",\n" +
                "        \"children\":[\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_CORPPOLICY.corpPolicy.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_TSPOLICY.corpPolicy-tsPolicy.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPPOLICY.corpPolicy.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_HOTELTYPE.hotelType.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_EXCLUSIVE.hotelType-exclusive.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_HOTELTYPE.hotelType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.39\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.48\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.564\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1630\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1122\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1638\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1640\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.105\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.109\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1645\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.110\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1650\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1657\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1658\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1659\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1542\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1037\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.22\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1049\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.49\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1592\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1087\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1113\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1641\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1642\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1643\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1644\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1647\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1135\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1648\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.2\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.5\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1541\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.6\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.7\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.9\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.10\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1034\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.11\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1036\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.16\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.17\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.18\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.19\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.520\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.547\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1577\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.57\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.572\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.576\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1623\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1625\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.614\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.641\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.148\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1180\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.671\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.673\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.684\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"TRANSFERS_SERVICE.service.0\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"SWAM_SERVICE.service.1\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"PARK_SERVICE.service.2\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"WIFI_SERVICE.service.3\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"BROAD_BAND_SERVICE.service.4\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FITNESS_SERVICE.service.5\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"SPA_SERVICE.service.6\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"AIPPORT_BUS_SERVICE.service.7\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_BIGBED.roomAndBreakfast-bigBed.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_DOUBLEBED.roomAndBreakfast-doubleBed.1\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_SINGLEBED.roomAndBreakfast-singleBed.2\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_MULTIBED.roomAndBreakfast-multiBed.3\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_BREAKFAST.roomAndBreakfast-breakfast.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":true\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_OFFLINEPAY.payType-offlinePay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_ONLINEPAY.payType-onlinePay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_CORPPAY.payType-corpPay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_FREECANCELLATION.corpService-freeCancellation.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_INSTANTCONFIRMATION.corpService-instantConfirmation.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_INVOICE.corpService-invoice.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_HOTELDISCOUNT.hotelDiscount.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_DISCOUNT.hotelDiscount-discount._\",\n" +
                "                        \"pId\":\"FILTER_TAG_HOTELDISCOUNT.hotelDiscount.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"checked\":false,\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_FOREIGN.suitablePerson-foreign.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_HMT.suitablePerson-hmt.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true\n" +
                "            }\n" +
                "        ]\n" +
                "    },\n" +
                "    \"priceAndStarFilter\":{\n" +
                "        \"stars\":{\n" +
                "            \"id\":\"STAR_ALL.star.0\",\n" +
                "            \"isMultiple\":true,\n" +
                "            \"children\":[\n" +
                "                {\n" +
                "                    \"id\":\"TWO_STAR.star.2\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"THREE_STAR.star.3\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"FOUR_STAR.star.4\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"FIVE_STAR.star.5\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                }\n" +
                "            ]\n" +
                "        },\n" +
                "        \"initPriceRange\":{\n" +
                "            \"lowPrice\":\"0\",\n" +
                "            \"highPrice\":\"1500\",\n" +
                "            \"currency\":\"￥\",\n" +
                "            \"id\":\"CUSTOMPRICERANGE.customPriceRange.0\"\n" +
                "        }\n" +
                "    },\n" +
                "    \"travelPolicyInfo\":{\n" +
                "        \"guestMode\":false,\n" +
                "        \"GeoCategory\":[\n" +
                "\n" +
                "        ],\n" +
                "        \"guestModeParams\":[\n" +
                "\n" +
                "        ]\n" +
                "    },\n" +
                "    \"positionSelectedItem\":[\n" +
                "\n" +
                "    ],\n" +
                "    \"tripID\":\"0\",\n" +
                "    \"oaAuthMode\":false,\n" +
                "    \"roomQuantity\":1,\n" +
                "    \"adultQuantity\":1,\n" +
                "    \"channel\":\"Online\",\n" +
                "    \"head\":{\n" +
                "        \"cid\":\"09031102114364446477\",\n" +
                "        \"ctok\":\"\",\n" +
                "        \"cver\":\"1.0\",\n" +
                "        \"lang\":\"01\",\n" +
                "        \"sid\":\"\",\n" +
                "        \"syscode\":\"09\",\n" +
                "        \"auth\":null,\n" +
                "        \"extension\":[\n" +
                "            {\n" +
                "                \"name\":\"sourceFrom\",\n" +
                "                \"value\":\"Online\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"locale\",\n" +
                "                \"value\":\"zh_CN\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"corpPayType\",\n" +
                "                \"value\":\"public\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"site\",\n" +
                "                \"value\":\"2\"\n" +
                "            }\n" +
                "        ]\n" +
                "    },\n" +
                "    \"contentType\":\"json\"\n" +
                "}";
    }

    public static String getJsonContent(String geoId) {
        return "{\n" +
                "    \"sortFilter\":[\n" +
                "        {\n" +
                "            \"id\":\"SORT_DEFAULT.SORT.0\",\n" +
                "            \"checked\":true,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_PRICE_ASC.SORT.1\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_PRICE_DESC.SORT.2\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_DISTANCE_ASC.SORT.3\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"SORT_EVALUATE_DESC.SORT.4\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        }\n" +
                "    ],\n" +
                "    \"pageNo\":1,\n" +
                "    \"pageSize\":15,\n" +
                "    \"checkIn\":\"2021-06-03\",\n" +
                "    \"checkOut\":\"2021-06-04\",\n" +
                "    \"geoId\":" + geoId + ",\n" +
                "    \"geoCategoryId\":3,\n" +
                "    \"quickFilter\":[\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_TSPOLICY.corpPolicy-tsPolicy.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_CORPPAY.payType-corpPay.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_EXCLUSIVE.hotelType-exclusive.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_DISCOUNT.hotelDiscount-discount._\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_INVOICE.corpService-invoice.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_BREAKFAST.roomAndBreakfast-breakfast.0\",\n" +
                "            \"checked\":true,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_INSTANTCONFIRMATION.corpService-instantConfirmation.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_FREECANCELLATION.corpService-freeCancellation.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        },\n" +
                "        {\n" +
                "            \"id\":\"FILTER_TAG_ONLINEPAY.payType-onlinePay.0\",\n" +
                "            \"checked\":false,\n" +
                "            \"editable\":true\n" +
                "        }\n" +
                "    ],\n" +
                "    \"otherFilter\":{\n" +
                "        \"id\":\"FILTER.MOREFILTER.0\",\n" +
                "        \"children\":[\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_CORPPOLICY.corpPolicy.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_TSPOLICY.corpPolicy-tsPolicy.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPPOLICY.corpPolicy.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_HOTELTYPE.hotelType.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_EXCLUSIVE.hotelType-exclusive.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_HOTELTYPE.hotelType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.39\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.48\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.564\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1630\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1122\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1638\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1640\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.105\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.109\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1645\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.110\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1650\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1657\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1658\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1659\",\n" +
                "                                \"pId\":\"ECONOMY_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1542\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1037\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.22\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1049\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.49\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1592\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1087\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1113\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1641\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1642\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1643\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1644\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1647\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1135\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1648\",\n" +
                "                                \"pId\":\"MIDDLING_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.2\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.5\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1541\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.6\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.7\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.9\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.10\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1034\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.11\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1036\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.16\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.17\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.18\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.19\",\n" +
                "                                \"pId\":\"HIGH_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                        \"pId\":\"BRAND_CHAIN.BRAND.0\",\n" +
                "                        \"children\":[\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.520\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.547\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1577\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.57\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.572\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.576\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1623\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1625\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.614\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.641\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.148\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.1180\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.671\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.673\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            },\n" +
                "                            {\n" +
                "                                \"id\":\"HOTEL_BRAND.BRAND.684\",\n" +
                "                                \"pId\":\"OTHRE_CHAIN.BRAND.0\",\n" +
                "                                \"isMultiple\":true\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"checked\":false\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"TRANSFERS_SERVICE.service.0\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"SWAM_SERVICE.service.1\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"PARK_SERVICE.service.2\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"WIFI_SERVICE.service.3\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"BROAD_BAND_SERVICE.service.4\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FITNESS_SERVICE.service.5\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"SPA_SERVICE.service.6\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"AIPPORT_BUS_SERVICE.service.7\",\n" +
                "                        \"pId\":\"FACILITY_SERVICE.FACILTTY.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_BIGBED.roomAndBreakfast-bigBed.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_DOUBLEBED.roomAndBreakfast-doubleBed.1\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_SINGLEBED.roomAndBreakfast-singleBed.2\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_MULTIBED.roomAndBreakfast-multiBed.3\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":false\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_BREAKFAST.roomAndBreakfast-breakfast.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_ROOMANDBREAKFAST.roomAndBreakfast.0\",\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true,\n" +
                "                        \"checked\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":true\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_OFFLINEPAY.payType-offlinePay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_ONLINEPAY.payType-onlinePay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_CORPPAY.payType-corpPay.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_PAYTYPE.payType.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_FREECANCELLATION.corpService-freeCancellation.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_INSTANTCONFIRMATION.corpService-instantConfirmation.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_INVOICE.corpService-invoice.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_CORPTRAVELSERVICE.SERVICES.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":false,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_HOTELDISCOUNT.hotelDiscount.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_DISCOUNT.hotelDiscount-discount._\",\n" +
                "                        \"pId\":\"FILTER_TAG_HOTELDISCOUNT.hotelDiscount.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":true,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true,\n" +
                "                \"checked\":false\n" +
                "            },\n" +
                "            {\n" +
                "                \"id\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                \"pId\":\"FILTER.MOREFILTER.0\",\n" +
                "                \"checked\":false,\n" +
                "                \"children\":[\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_FOREIGN.suitablePerson-foreign.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    },\n" +
                "                    {\n" +
                "                        \"id\":\"FILTER_TAG_HMT.suitablePerson-hmt.0\",\n" +
                "                        \"pId\":\"FILTER_TAG_SUITABLEPERSON.suitablePerson.0\",\n" +
                "                        \"checked\":false,\n" +
                "                        \"isMultiple\":false,\n" +
                "                        \"editable\":true\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"isMultiple\":true\n" +
                "            }\n" +
                "        ]\n" +
                "    },\n" +
                "    \"priceAndStarFilter\":{\n" +
                "        \"stars\":{\n" +
                "            \"id\":\"STAR_ALL.star.0\",\n" +
                "            \"isMultiple\":true,\n" +
                "            \"children\":[\n" +
                "                {\n" +
                "                    \"id\":\"TWO_STAR.star.2\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"THREE_STAR.star.3\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"FOUR_STAR.star.4\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                },\n" +
                "                {\n" +
                "                    \"id\":\"FIVE_STAR.star.5\",\n" +
                "                    \"pId\":\"STAR_ALL.star.0\"\n" +
                "                }\n" +
                "            ]\n" +
                "        },\n" +
                "        \"initPriceRange\":{\n" +
                "            \"lowPrice\":\"0\",\n" +
                "            \"highPrice\":\"1500\",\n" +
                "            \"currency\":\"￥\",\n" +
                "            \"id\":\"CUSTOMPRICERANGE.customPriceRange.0\"\n" +
                "        }\n" +
                "    },\n" +
                "    \"travelPolicyInfo\":{\n" +
                "        \"guestMode\":false,\n" +
                "        \"GeoCategory\":[\n" +
                "\n" +
                "        ],\n" +
                "        \"guestModeParams\":[\n" +
                "\n" +
                "        ]\n" +
                "    },\n" +
                "    \"positionSelectedItem\":[\n" +
                "\n" +
                "    ],\n" +
                "    \"tripID\":\"0\",\n" +
                "    \"oaAuthMode\":false,\n" +
                "    \"roomQuantity\":1,\n" +
                "    \"adultQuantity\":1,\n" +
                "    \"channel\":\"Online\",\n" +
                "    \"head\":{\n" +
                "        \"cid\":\"09031102114364446477\",\n" +
                "        \"ctok\":\"\",\n" +
                "        \"cver\":\"1.0\",\n" +
                "        \"lang\":\"01\",\n" +
                "        \"sid\":\"\",\n" +
                "        \"syscode\":\"09\",\n" +
                "        \"auth\":null,\n" +
                "        \"extension\":[\n" +
                "            {\n" +
                "                \"name\":\"sourceFrom\",\n" +
                "                \"value\":\"Online\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"locale\",\n" +
                "                \"value\":\"zh_CN\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"corpPayType\",\n" +
                "                \"value\":\"public\"\n" +
                "            },\n" +
                "            {\n" +
                "                \"name\":\"site\",\n" +
                "                \"value\":\"2\"\n" +
                "            }\n" +
                "        ]\n" +
                "    },\n" +
                "    \"contentType\":\"json\"\n" +
                "} ";
    }

    ;

    /**
     * 模拟请求https
     *
     * @param url      资源地址
     * @param map      参数列表
     * @param encoding 编码
     * @return
     * @throws NoSuchAlgorithmException
     * @throws KeyManagementException
     * @throws IOException
     * @throws ClientProtocolException
     */
    public static String sendHttps(String url, Map<String, String> map, String encoding) throws KeyManagementException, NoSuchAlgorithmException, ClientProtocolException, IOException {
        String body = "";
        //采用绕过验证的方式处理https请求
        SSLContext sslcontext = createIgnoreVerifySSL();

        // 设置协议http和https对应的处理socket链接工厂的对象
        Registry<ConnectionSocketFactory> socketFactoryRegistry = RegistryBuilder.<ConnectionSocketFactory>create()
                .register("http", PlainConnectionSocketFactory.INSTANCE)
                .register("https", new SSLConnectionSocketFactory(sslcontext))
                .build();
        PoolingHttpClientConnectionManager connManager = new PoolingHttpClientConnectionManager(socketFactoryRegistry);
        HttpClients.custom().setConnectionManager(connManager);

        //创建自定义的httpclient对象
        CloseableHttpClient client = HttpClients.custom().setConnectionManager(connManager).build();
//        CloseableHttpClient client = HttpClients.createDefault();

        //创建post方式请求对象
        HttpPost httpPost = new HttpPost(url);

        //装填参数
        List<NameValuePair> nvps = new ArrayList<NameValuePair>();
        if (map != null) {
            for (Map.Entry<String, String> entry : map.entrySet()) {
                nvps.add(new BasicNameValuePair(entry.getKey(), entry.getValue()));
            }
        }
        //设置参数到请求对象中
        httpPost.setEntity(new UrlEncodedFormEntity(nvps, encoding));

        System.out.println("请求地址：" + url);
        System.out.println("请求参数：" + nvps.toString());

        //设置header信息
        //指定报文头【Content-type】、【User-Agent】
        //content-type: application/json
        //cookie: GUID=09031102114364446477; Corp_ResLang=zh-cn; _ga=GA1.2.736236370.1622613855; _gid=GA1.2.1827004588.1622613855; ctm_ref=; login_uid=DC1A448F0309B3B22AE165F1E7445D13; login_type=0; cticket=B5B63D43309E23DD7365076DF9383566A68CD50E9C549913BAA9502C10FF8EEB; AHeadUserInfo=VipGrade=0&VipGradeName=%C6%D5%CD%A8%BB%E1%D4%B1&UserName=%BB%C6%B4%BA%CF%E3&NoReadMessageCount=1; ticket_ctrip=bJ9RlCHVwlu1ZjyusRi+ypZ7X2r4+yojyzYEMjGgdJUY+8MkQJWJwZJ1AGK2Pjd4zAAQPp94LF4w/WqKJcY6KhLA7ZzlVmewYDdcOKBsvqOzj1mpUS5peKdRm5DDAKvdHEJ0i9kxLSEo9koBwdLfDJF+QErOWcjEYYOhn9PtBIZKtjTp7k9tDGVsSPIurz+NiHOqtaRJVd+WW8ccXcCH3kjDTdewepP0IoKtc2mJbac6MpCn3rRff7Xl9gYjdzT9zPoSoND2EsXDgRREW+iGkMyCyVsnJx3WICfiRiFt2Ac=; DUID=u=DC1A448F0309B3B22AE165F1E7445D13&v=0; IsNonUser=F; SSOkey=372efd20-e0a7-4974-92a2-cfae90459f81; _IsShowInfo=true; IsFristShowInfo=2130126491; isShowCorpTip=yes; _bfa=1.1622613852719.2kkaby.1.1622613852719.1622616147016.2.7; _bfs=1.2; _bfi=p1%3D10650045603%26p2%3D10650036358%26v1%3D7%26v2%3D6
        //user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
        httpPost.setHeader("content-type", "application/json");
        httpPost.setHeader("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36");
        httpPost.setHeader("cookie", "GUID=09031102114364446477; Corp_ResLang=zh-cn; _ga=GA1.2.736236370.1622613855; _gid=GA1.2.1827004588.1622613855; ctm_ref=; login_uid=DC1A448F0309B3B22AE165F1E7445D13; login_type=0; cticket=B5B63D43309E23DD7365076DF9383566A68CD50E9C549913BAA9502C10FF8EEB; AHeadUserInfo=VipGrade=0&VipGradeName=%C6%D5%CD%A8%BB%E1%D4%B1&UserName=%BB%C6%B4%BA%CF%E3&NoReadMessageCount=1; ticket_ctrip=bJ9RlCHVwlu1ZjyusRi+ypZ7X2r4+yojyzYEMjGgdJUY+8MkQJWJwZJ1AGK2Pjd4zAAQPp94LF4w/WqKJcY6KhLA7ZzlVmewYDdcOKBsvqOzj1mpUS5peKdRm5DDAKvdHEJ0i9kxLSEo9koBwdLfDJF+QErOWcjEYYOhn9PtBIZKtjTp7k9tDGVsSPIurz+NiHOqtaRJVd+WW8ccXcCH3kjDTdewepP0IoKtc2mJbac6MpCn3rRff7Xl9gYjdzT9zPoSoND2EsXDgRREW+iGkMyCyVsnJx3WICfiRiFt2Ac=; DUID=u=DC1A448F0309B3B22AE165F1E7445D13&v=0; IsNonUser=F; SSOkey=372efd20-e0a7-4974-92a2-cfae90459f81; _IsShowInfo=true; IsFristShowInfo=2130126491; isShowCorpTip=yes; _bfa=1.1622613852719.2kkaby.1.1622613852719.1622616147016.2.7; _bfs=1.2; _bfi=p1%3D10650045603%26p2%3D10650036358%26v1%3D7%26v2%3D6");

        //执行请求操作，并拿到结果（同步阻塞）
        CloseableHttpResponse response = client.execute(httpPost);
        //获取结果实体
        HttpEntity entity = response.getEntity();
        if (entity != null) {
            //按指定编码转换结果实体为String类型
            body = EntityUtils.toString(entity, encoding);
        }
        EntityUtils.consume(entity);
        //释放链接
        response.close();
        return body;
    }


    /**
     * 模拟请求http
     *
     * @param url      资源地址
     * @param map      参数列表
     * @param encoding 编码
     * @return
     * @throws ParseException
     * @throws IOException
     */
    public static String sendHttp(String url, Map<String, String> map, String encoding) throws ParseException, IOException {
        String body = "";

        //创建httpclient对象
        CloseableHttpClient client = HttpClients.createDefault();
        //创建post方式请求对象
        HttpPost httpPost = new HttpPost(url);

        //装填参数
        List<NameValuePair> nvps = new ArrayList<NameValuePair>();
        if (map != null) {
            for (Map.Entry<String, String> entry : map.entrySet()) {
                nvps.add(new BasicNameValuePair(entry.getKey(), entry.getValue()));
            }
        }
        //设置参数到请求对象中
        httpPost.setEntity(new UrlEncodedFormEntity(nvps, encoding));

        System.out.println("请求地址：" + url);
        System.out.println("请求参数：" + nvps.toString());

        //设置header信息
        //指定报文头【Content-type】、【User-Agent】
        httpPost.setHeader("Content-type", "application/x-www-form-urlencoded");
        httpPost.setHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)");

        //执行请求操作，并拿到结果（同步阻塞）
        CloseableHttpResponse response = client.execute(httpPost);
        //获取结果实体
        HttpEntity entity = response.getEntity();
        if (entity != null) {
            //按指定编码转换结果实体为String类型
            body = EntityUtils.toString(entity, encoding);
        }
        EntityUtils.consume(entity);
        //释放链接
        response.close();
        return body;
    }
    /**
     * geoIds.add("144");//济南
     *         geoIds.add("34");//昆明
     *         geoIds.add("83");//'昆山
     *         geoIds.add("345");//乐山
     *         geoIds.add("569");//临沂
     *         geoIds.add("354");//柳州
     *         geoIds.add("12");//南京
     *         geoIds.add("380");//南宁
     *         geoIds.add("82");//南通
     *         geoIds.add("375");//宁波
     *         geoIds.add("7");//青岛
     *         geoIds.add("1106");//日照
     *         geoIds.add("25");//厦门
     *         geoIds.add("2");//上海
     *         geoIds.add("30");//深圳
     *         geoIds.add("451");//沈阳
     *         geoIds.add("14");//苏州
     *         geoIds.add("105");//太原
     *         geoIds.add("3");//天津
     *         geoIds.add("475");//潍坊
     *         geoIds.add("491");//温州
     *         geoIds.add("477");//武汉
     *         geoIds.add("10");//西安
     *         geoIds.add("15");//扬州
     *         geoIds.add("99");//银川
     *         geoIds.add("158");//长春
     *         geoIds.add("206");//长沙
     *         geoIds.add("559");//郑州
     *         geoIds.add("4");//重庆
     *         geoIds.add("542");//淄博
     *
     *         geoMap.put("144", "济南");
     *         geoMap.put("34", "昆明");
     *         geoMap.put("83", "昆山");
     *         geoMap.put("345", "乐山");
     *         geoMap.put("569", "临沂");
     *         geoMap.put("354", "柳州");
     *         geoMap.put("12", "南京");
     *         geoMap.put("380", "南宁");
     *         geoMap.put("82", "南通");
     *         geoMap.put("375", "宁波");
     *         geoMap.put("7", "青岛");
     *         geoMap.put("1106", "日照");
     *         geoMap.put("25", "厦门");
     *         geoMap.put("2", "上海");
     *         geoMap.put("30", "深圳");
     *         geoMap.put("451", "沈阳");
     *         geoMap.put("14", "苏州");
     *         geoMap.put("105", "太原");
     *         geoMap.put("3", "天津");
     *         geoMap.put("475", "潍坊");
     *         geoMap.put("491", "温州");
     *         geoMap.put("477", "武汉");
     *         geoMap.put("10", "西安");
     *         geoMap.put("15", "扬州");
     *         geoMap.put("99", "银川");
     *         geoMap.put("158", "长春");
     *         geoMap.put("206", "长沙");
     *         geoMap.put("559", "郑州");
     *         geoMap.put("4", "重庆");
     *         geoMap.put("542", "淄博");
     */
}
